#ifndef BETANODE_H
#define BETANODE_H

#include "node.h"

class BetaNode : public Node
{
protected:

    int alphaNode;
    int betaNode;

    virtual bool inRange(double v);

public:
    BetaNode(double val);
    BetaNode(QString label, double val, double sd, Node * alphaNode, Node * betaNode, bool isObserved = false);

    void setAlphaNode(Node * node);
    void setBetaNode(Node * node);

    virtual double computeLogLikelihood();
};

#endif // BETANODE_H
